package com.cqjtu.platform.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author pengyangyan
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Entity
@Table(name = "comment")
public class Comment extends BaseEntity{

    /**
     * 评论内容
     */
    @Column
    private String content;
    /**
     * 评分
     */
    @Column
    private Integer score;
    /**
     * 回复
     */
    @Column
    private String replay;
    /**
     * 用户id
     */
    @Column
    private Integer userId;
    /**
     * 车库id
     */
    @Column
    private Integer parkingId;
}
